package edu.scau.finance.sku.service;

import edu.scau.finance.sku.mapper.SkuReportMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Service
public class SkuReportServiceImpl implements SkuReportService{
    @Autowired
    private SkuReportMapper skuReportMapper;
    @Override
    public List<Map<String,Object>> getStockGroupedBySkuName(Date startTime, Date endTime) {
        return skuReportMapper.getStockGroupedBySkuName(startTime,endTime);
    }
}
